package demo.service;

import java.util.List;

import demo.entity.Role;

public interface RoleService {
	public boolean addRole(Role role);
	
	public boolean updateRole(Role role);
	
	public boolean deleteRole(Integer id);
	
	public List<Role>getAllRole(Role role,Integer pageNo,Integer pageSize);
	
	public Role getById(Integer id);
}
